<template>
  <div class="count">
    <h2>我是Count组件</h2>
    <p>count:{{count}}</p>
    <p>title:{{title}}</p>
    <p>otherTitle:{{otherTitle}}</p>
  </div>
</template>

<script>
export default {
name:"Count",
data(){
    return{}
},
props:{
    count:Number,
    title:String,
    otherTitle:{
        type:String,
        default:"啥..."
    }
},
methods: {},
}
</script>

<style scoped>
.count{
    background-color: pink;
}
</style>